﻿using App.Chat.Models.MongoModels;
using Zws.Dapper;

namespace App.Chat.Models
{
    public class ChatMessage : BaseEntity
    {
        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 内容类型
        /// </summary>
        public ContentTypeEnum ContentType { get; set; }
        /// <summary>
        /// 发件人Id
        /// </summary>
        public string FromUserId { get; set; }
        /// <summary>
        /// 收件人/接收组
        /// </summary>
        public string ToId { get; set; }
        /// <summary>
        /// 是否是群组消息
        /// </summary>
        public bool IsGroupMsg { get; set; }
    }
}
